package com.neustudy.base.model;

import lombok.Data;
import lombok.ToString;

/**
 * @author WKX
 * @version 1.0
 * @describe 分页参数
 * @create: 2024-06-04 17:20
 */


@Data
@ToString
public class PageParams {
    //当前页码
    private Long PageNo = 1L;
    //当前页面记录数
    private Long PageSize = 30L;

    public PageParams() {
    }

    public PageParams(Long pageNo, Long pageSize) {
        PageNo = pageNo;
        PageSize = pageSize;
    }
}
